-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LW-9145] TxSummary refactor #883
Conversation
fcd04cd
to
428021f
Compare
Allure report
smokeTests: ✅ test report for 9319be6d
|
@VanessaPC it seems like you need to update this PR to the latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the code and posted a few comments.
Nothing crucial, but there are a few improvements which can lead to increased consistency and maintenance of the code.
Let me know what do you think :)
and thank you @VanessaPC for great work.
packages/ui/src/design-system/dapp-transaction-summary/dapp-transaction-summary.css.ts
Outdated
Show resolved
Hide resolved
packages/ui/src/design-system/dapp-transaction-summary/dapp-transaction-assets.component.tsx
Outdated
Show resolved
Hide resolved
packages/core/src/ui/components/DappTransactionHeader/DappTransactionHeader.tsx
Outdated
Show resolved
Hide resolved
packages/core/src/ui/components/DappTransaction/DappTransaction.tsx
Outdated
Show resolved
Hide resolved
apps/browser-extension-wallet/src/hooks/useChainHistoryProvider.ts
Outdated
Show resolved
Hide resolved
apps/browser-extension-wallet/src/features/dapp/components/ConfirmTransaction.tsx
Outdated
Show resolved
Hide resolved
apps/browser-extension-wallet/src/features/dapp/components/ConfirmTransaction.tsx
Outdated
Show resolved
Hide resolved
packages/core/src/ui/components/DappAddressSections/DappAddressSections.tsx
Show resolved
Hide resolved
202305f
to
5885e71
Compare
@DominikGuzei @pczeglik-iohk this is ready for re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks great. Thank you @VanessaPC
This PR introduces less code coverage on e2e tests, because it introduces also more functionality to test, I created LW-9857 to increase test coverage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great now 🎉 I just left one small suggestion that you can optionally look into (not really the scope of this PR)
0e2b3ed
to
7e7439d
Compare
3e41375
to
67669ab
Compare
6139c0d
to
a32a78e
Compare
43960c5
to
09ac2ff
Compare
() => userRewardAccounts && userRewardAccounts.map((key) => key.address), | ||
[userRewardAccounts] | ||
); | ||
const rewardAccountsAddresses = useMemo(() => userRewardAccounts?.map((key) => key.address), [userRewardAccounts]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you @VanessaPC
- transaction includes transaction fees - it displays returned deposit and deposits - it shows from address sections wiht tokens and nfts - it shows to address section with tokens and nfts - it displays tokens and nfts in the summary - it summarises the balance in coins of a transactions - it displays the dapp name in the origin tab
5ecea11
to
9319be6
Compare
Quality Gate passedIssues Measures |
Checklist
Proposed solution
Testing
Tx notes:
Screenshots
// This image is here only to show the display of to address / from address sections, the styles apply from the previous snapshots.